package com.silverbox.shopper.entity;

import java.io.Serializable;
import java.util.Date;

/**
box_alipay_trade_record
 */
public class AlipayTradeRecord implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -530758354892658943L;

	/**
     */
    private Long id;

    /**
     * 买家支付宝账号
     */
    private String buyerEmail;

    /**
     * 买家支付宝用户号
     */
    private String buyerId;

    /**
     * 动态ID类型
     */
    private String dynamicIdType;

    /**
     * 店铺机器编号
     */
    private Long machineId;

    /**
     * 卖家的操作员id
     */
    private String operatorId;

    /**
     * 订单日期
     */
    private Date orderDate;

    /**
     * 商户网站唯一订单号
     */
    private String outTradeNo;

    /**
     * 合作者身份ID
     */
    private String partner;

    /**
     * 订单业务类型
     */
    private String productCode;

    /**
     * 卖家支付宝用户号
     */
    private String sellerId;

    /**
     * 店铺id
     */
    private Integer shopperId;

    /**
     * 订单标题
     */
    private String subject;

    /**
     * 订单金额
     */
    private Double totalFee;

    /**
     * 支付宝交易号
     */
    private String tradeNo;

    /**
     * 服务商
     */
    private Integer providers;

    /**
     * 商家在交易中实际收到的款项
     */
    private Double receiptAmount;

    /**
     * 支付宝版本号
     */
    private Integer versionNo;

    /**
     * 用户实际支付金额
     */
    private Double totalPay;

    /**
     * 工号
     */
    private String jobNum;

    /**
     * 商家id
     */
    private Integer shopParentId;

    /**
     * 导购员
     */
    private String guidJobNum;

    /**
     * 描述
     */
    private String descText;

    /**
     * 来源
     */
    private Integer source;
    
    /**
     * 支付订单号
     */
    private String payOrderNum;
    
    // 下单时间，该时间与box_order.order_date一致
 	private Date orderPlaceDate;
 	
 	// 订单状态，1：有效 ，2：部分退款  4：全部退完
 	private Integer payStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBuyerEmail() {
        return buyerEmail;
    }

    public void setBuyerEmail(String buyerEmail) {
        this.buyerEmail = buyerEmail == null ? null : buyerEmail.trim();
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId == null ? null : buyerId.trim();
    }

    public String getDynamicIdType() {
        return dynamicIdType;
    }

    public void setDynamicIdType(String dynamicIdType) {
        this.dynamicIdType = dynamicIdType == null ? null : dynamicIdType.trim();
    }

    public Long getMachineId() {
        return machineId;
    }

    public void setMachineId(Long machineId) {
        this.machineId = machineId;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId == null ? null : operatorId.trim();
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo == null ? null : outTradeNo.trim();
    }

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner == null ? null : partner.trim();
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId == null ? null : sellerId.trim();
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject == null ? null : subject.trim();
    }

    public Double getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Double totalFee) {
        this.totalFee = totalFee;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public Integer getProviders() {
        return providers;
    }

    public void setProviders(Integer providers) {
        this.providers = providers;
    }

    public Double getReceiptAmount() {
        return receiptAmount;
    }

    public void setReceiptAmount(Double receiptAmount) {
        this.receiptAmount = receiptAmount;
    }

    public Integer getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(Integer versionNo) {
        this.versionNo = versionNo;
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public String getJobNum() {
        return jobNum;
    }

    public void setJobNum(String jobNum) {
        this.jobNum = jobNum == null ? null : jobNum.trim();
    }

    public Integer getShopParentId() {
        return shopParentId;
    }

    public void setShopParentId(Integer shopParentId) {
        this.shopParentId = shopParentId;
    }

    public String getGuidJobNum() {
        return guidJobNum;
    }

    public void setGuidJobNum(String guidJobNum) {
        this.guidJobNum = guidJobNum == null ? null : guidJobNum.trim();
    }

    public String getDescText() {
        return descText;
    }

    public void setDescText(String descText) {
        this.descText = descText == null ? null : descText.trim();
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

	public String getPayOrderNum() {
		return payOrderNum;
	}

	public void setPayOrderNum(String payOrderNum) {
		this.payOrderNum = payOrderNum;
	}

	public Date getOrderPlaceDate() {
		return orderPlaceDate;
	}

	public void setOrderPlaceDate(Date orderPlaceDate) {
		this.orderPlaceDate = orderPlaceDate;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}
    
}